#pragma once
#include <crow.h>
#include <model/dto/member/points_policy_dto.hpp>
#include <string>

class PointsPolicyService {
  public:
  static ServiceResult create(PointsPolicyDTO& policy_dto);
  static ServiceResult updateByPolicyId(const std::string& policy_id,
                                        PointsPolicyDTO& policy_dto);
  static ServiceResult removeByPolicyId(const std::string& policy_id);
  static ServiceResult getByPage(const int page, const int page_size);
  static ServiceResult getAll();
};
